/**
 * @description: appconfig参数校验
 * @version: 0.0.1
 * @author: ljr
 * @Date: 2023-06-08 14:07:35
 */

import { Rule } from '@midwayjs/validate';
import { requiredString } from "./common";

// 授权登录 code换取token
export class GetDataByCodeDTO {
  @Rule(requiredString)
  code: string;
}

